#pragma once

class CUtil
{
public:
	CUtil(void);
	~CUtil(void);
	static CString GetModuleDirectory(void);
	static BOOL IsExitFile(LPCTSTR lpFileName);
	static CString MD5Encoder(CString str);
	static CString MD5EncoderUnicode(CString str);
	static CString MD5EncoderAnsi(CString str);
	static BOOL PlayMusic(CString str);
	static double CalcAngle(double x, double y);
	static BOOL IsTheSameHeading(float h1, float h2, float inv);
    static BOOL PlayMusic(LPCTSTR name);
    static BOOL StopMusic();
};
